package com.liuzhilong.infrastructure.framework.netty.api;

import io.netty.buffer.ByteBuf;
import io.netty.buffer.ByteBufAllocator;
import io.netty.buffer.ByteBufUtil;

public class Util {

    public static void main(String[] args) {
        testByteBuf();
    }

    public static final void testByteBuf(){
        ByteBuf byteBuf = ByteBufAllocator.DEFAULT.directBuffer(256);
        System.out.println(byteBuf.capacity());

    }


}
